package com.ice.pay.server;

import com.ice.pay.service.TestPayService;
import com.pay.service.PayIce.PayIceServer;
import com.zeroc.Ice.Current;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/11/30.
 */
@Service("payIceServer")
public class PayIceServerImpl implements PayIceServer {

    @Autowired
    private TestPayService testPayService;

    @Override
    public String pay(String jsonStr, Current current) {
        return testPayService.pay(jsonStr);
    }

    @Override
    public String queryPayRecord(String jsonStr, Current current) {
        return testPayService.queryPayRecord(jsonStr);
    }
}
